package ${basePackage}.domain.service.impl;

import ${basePackage}.domain.dao.${modelNameUpperCamel}Mapper;
import ${basePackage}.domain.model.${modelNameUpperCamel};
import ${basePackage}.domain.service.I${modelNameUpperCamel}Service;
import ${confPackage}.AbstractService;
import ${confPackage}.BaseException;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;


/**
 * Created by ${author} on ${date}.
 */
@Service
@Transactional(rollbackFor = {Exception.class, BaseException.class})
public class ${modelNameUpperCamel}ServiceImpl extends AbstractService<${modelNameUpperCamel}> implements I${modelNameUpperCamel}Service {
    @Resource
    private ${modelNameUpperCamel}Mapper ${modelNameLowerCamel}Mapper;

}
